﻿/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/




CKEDITOR.editorConfig = function( config )
{
	// 設置寬高
    config.width = 250;
    config.height = 200;
    
    // 編輯器樣式，有三種：'kama'（默認）、'office2003'、'v2'
    config.skin = 'office2003';
    
 /** 工具欄（基礎'Basic'、全能'Full'、自定義）plugins/toolbar/plugin.js
  * 
  * config.toolbar = 'Basic';
  * config.toolbar = 'Full';
  * 
  * //'Source'(原始碼),'-','Save','NewPage','Preview','-','Templates'
  * 
  * 下面是自行定義
  */
    config.toolbar_Full = [
       ['Preview','Save'], ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print'],
       ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat','-','TextColor','BGColor'],
       '/',
       ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
        ['NumberedList','BulletedList'],
        ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
       ['Image','Table','HorizontalRule','SpecialChar'],
       '/',
        ['Font','FontSize']
    ];
    config.extraPlugins = 'imagepaste';
    config.filebrowserImageUploadUrl = 'ckeditor/uploader';
    config.filebrowserUploadUrl = 'ckeditor/uploader';
    
};